package week_07.variant;

import week_07.Stack;

public class variant {
    public static void main(String[] args) {
        Stack<String> stack = new Stack<>();
        String str1 = "abcba";
        String str2 = "abccba";
        String str3 = "abccbd";
        Boolean result= stack.variantJudge(str3);
        System.out.println(result);

    }
}
